package com.ds.dsm.aggregation.module;

import com.ds.esd.custom.bean.CustomModuleBean;
import com.ds.esd.tool.ui.component.dialog.DialogBean;
import com.ds.esd.tool.ui.enums.Dock;
import com.ds.esd.tool.ui.enums.PosType;


public class ModuleWinView {

    String viewInstId;
    String domainId;
    String sourceClassName;
    String methodName;
    String id;
    String width;
    String height;
    String imageClass;

    Dock dock;

    Boolean locked;
    Boolean folded;

    Boolean minBtn;
    Boolean maxBtn;
    Boolean resizer;

    Boolean modal;
    Boolean movable;

    Boolean pinBtn;
    Boolean landBtn;

    Boolean cmd;

    Boolean cache;

    Boolean dynLoad;

    String fromRegion;

    String minWidth;
    String minHeight;

    Integer min;
    Integer max;

    PosType pos;


    public ModuleWinView() {

    }

    public ModuleWinView(CustomModuleBean dataBean, DialogBean dialogBean) {
        this.viewInstId = dataBean.getViewInstId();
        this.sourceClassName = dataBean.getSourceClassName();
        this.height = dataBean.getHeight();
        this.width = dataBean.getWidth();
        this.movable = dialogBean.getMovable();
        this.minBtn = dialogBean.getMinBtn();
        this.maxBtn = dialogBean.getMaxBtn();
        this.resizer = dialogBean.getResizer();
        this.pinBtn = dialogBean.getPinBtn();
        this.landBtn = dialogBean.getLandBtn();
        this.minWidth = dataBean.getMinWidth();
        this.minHeight = dataBean.getMinHeight();
        this.modal = dialogBean.getModal();
        this.imageClass = dataBean.getImageClass();
        this.cmd = dialogBean.getCmd();
        this.folded = dataBean.getFolded();
        this.cache = dataBean.getCache();
        this.fromRegion = dataBean.getFromRegion();
        this.dock = dataBean.getDock();
        this.methodName = dataBean.getMethodName();
        this.dynLoad = dataBean.getDynLoad();
        this.domainId = dataBean.getDomainId();
    }

    public String getDomainId() {
        return domainId;
    }

    public void setDomainId(String domainId) {
        this.domainId = domainId;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getImageClass() {
        return imageClass;
    }

    public void setImageClass(String imageClass) {
        this.imageClass = imageClass;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public Integer getMin() {
        return min;
    }

    public void setMin(Integer min) {
        this.min = min;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    public Boolean getCmd() {
        return cmd;
    }

    public void setCmd(Boolean cmd) {
        this.cmd = cmd;
    }

    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }

    public Boolean getFolded() {
        return folded;
    }

    public void setFolded(Boolean folded) {
        this.folded = folded;
    }

    public Boolean getCache() {
        return cache;
    }

    public void setCache(Boolean cache) {
        this.cache = cache;
    }

    public String getFromRegion() {
        return fromRegion;
    }

    public void setFromRegion(String fromRegion) {
        this.fromRegion = fromRegion;
    }

    public Dock getDock() {
        return dock;
    }

    public void setDock(Dock dock) {
        this.dock = dock;
    }

    public PosType getPos() {
        return pos;
    }

    public void setPos(PosType pos) {
        this.pos = pos;
    }


    public Boolean getDynLoad() {
        return dynLoad;
    }

    public void setDynLoad(Boolean dynLoad) {
        this.dynLoad = dynLoad;
    }

    public String getViewInstId() {
        return viewInstId;
    }

    public void setViewInstId(String viewInstId) {
        this.viewInstId = viewInstId;
    }

    public String getSourceClassName() {
        return sourceClassName;
    }

    public void setSourceClassName(String sourceClassName) {
        this.sourceClassName = sourceClassName;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public Boolean getMovable() {
        return movable;
    }

    public void setMovable(Boolean movable) {
        this.movable = movable;
    }

    public Boolean getMinBtn() {
        return minBtn;
    }

    public void setMinBtn(Boolean minBtn) {
        this.minBtn = minBtn;
    }

    public Boolean getMaxBtn() {
        return maxBtn;
    }

    public void setMaxBtn(Boolean maxBtn) {
        this.maxBtn = maxBtn;
    }

    public Boolean getResizer() {
        return resizer;
    }

    public void setResizer(Boolean resizer) {
        this.resizer = resizer;
    }

    public Boolean getPinBtn() {
        return pinBtn;
    }

    public void setPinBtn(Boolean pinBtn) {
        this.pinBtn = pinBtn;
    }

    public Boolean getLandBtn() {
        return landBtn;
    }

    public void setLandBtn(Boolean landBtn) {
        this.landBtn = landBtn;
    }

    public String getMinWidth() {
        return minWidth;
    }

    public void setMinWidth(String minWidth) {
        this.minWidth = minWidth;
    }

    public String getMinHeight() {
        return minHeight;
    }

    public void setMinHeight(String minHeight) {
        this.minHeight = minHeight;
    }

    public Boolean getModal() {
        return modal;
    }

    public void setModal(Boolean modal) {
        this.modal = modal;
    }
}
